let dataArr = [];

let obj = {
    "user_name": '',
    "dev_id": "",
    "login_time": new Date(),
    "msg":''
}
let objData = obj;
for(let i = 0; i < 20; i++) {
    objData["user_name"] =  + i;
    objData["dev_id"] = "设备" + i;
    objData["objData"] = obj.login_time;
    objData["msg"] = "登录" + i;
    dataArr.push(objData);
    objData = {}
}



module.exports = {
    loginTest: dataArr,
    objData: obj
};